package com.zy.admin.controller;


import com.zy.admin.annotate.Retry;
import com.zy.admin.service.TestService;
import com.zy.common.core.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "系统", value = "系统")
@RestController
@RequestMapping("/gateway")
public class GatewayController {

    @Resource
    private TestService testService;

    @ApiOperation("获取网关")
    @PostMapping("/log")
    public R<?> page() {
        testService.test();
        return R.ok();
    }

}
